﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace KinnectInput.KinectMetro
{
    public delegate void ClickEventHandler(object sender, ProximityClickEventArgs e);
    public delegate void ReleasedEventHandler(object sender, EventArgs e);
    public delegate void ItemAreaEnterHandler(object sender, EnterAreaEventArgs e);
    public delegate void ItemAreaLeaveHandler(object sender, EventArgs e);
    public interface IClicableItem
    {
        event ClickEventHandler Pushed;
        event ReleasedEventHandler Release;
        event ItemAreaEnterHandler EnterArea;
        event ItemAreaLeaveHandler LeaveArea;

        void Update();
        bool Contains(Rectangle area,Point p);
        void Draw();
    }
}
